package com.shopping.model;

/**
 * 购物车实体类
 * 该类与tbl_car表对应
 */
public class Car {
    private Integer car_id;
    private Integer flower_id;
    private Integer car_count;
    private Integer userId;

    public Integer getCar_id() {
        return car_id;
    }

    public void setCar_id(Integer car_id) {
        this.car_id = car_id;
    }

    public Integer getFlower_id() {
        return flower_id;
    }

    public void setFlower_id(Integer flower_id) {
        this.flower_id = flower_id;
    }

    public Integer getCar_count() {
        return car_count;
    }

    public void setCar_count(Integer car_count) {
        this.car_count = car_count;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Car{" +
                "car_id=" + car_id +
                ", flower_id=" + flower_id +
                ", car_count=" + car_count +
                ", userId=" + userId +
                '}';
    }
}
